package com.fly.ribbon.annotation

import com.fly.ribbon.config.FeignHttpInterceptorConfig
import org.springframework.context.annotation.Import

/**
 * 开启feign拦截器传递数据给下游服务，只包含基础数据
 * @author  fly
 * @date  2021/5/18 16:18
 * @version 1.0
 */
@Target(AnnotationTarget.TYPE, AnnotationTarget.CLASS)
@Retention(AnnotationRetention.RUNTIME)
@Import(FeignHttpInterceptorConfig::class)
annotation class EnableBaseFeignInterceptor()
